package com.zhq.blog.core.domain.user;

import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;

import com.zhq.blog.core.domain.BaseRepository;

public interface UserRankRepository extends JpaRepository<UserRank,Long>, BaseRepository<UserRank>,JpaSpecificationExecutor<UserRank> {

	@Query("select b from UserRank b where deleted=0  order by id desc  ")
	List<UserRank> findAll();
}
